package com.itheima.service.omsService;

import com.itheima.domain.db.oms.OmsCompanyAddress;

import java.util.List;

/**
 * @author DogeGuo
 */
public interface CompanyAddressService {
    /**
     * 查询所有收货地址
     *
     * @return
     */
    List<OmsCompanyAddress> findAll();

    /**
     * 根据id查询收货地址
     *
     * @param companyAddressId
     * @return
     */
    OmsCompanyAddress findById(Long companyAddressId);
}
